package common;

public class DoubleListNode {
    public int value;
    public int key;
    public DoubleListNode next;
    public DoubleListNode pre;

    public DoubleListNode() {}

    public DoubleListNode(int key, int val) {
        this.key = key;
        this.value = val;
    }

    public DoubleListNode(int key, int val, DoubleListNode next, DoubleListNode pre) {
        this.key = key;
        this.value = val;
        this.next = next;
        this.pre = pre;
    }
}
